﻿using System.Collections.Generic;
using SinBiota.Model.Entities;

namespace SinBiota.Model.Persistence.Repositories.Interfaces
{
    public interface IUserRepository : IRepository<User,int>
    {
        User FindByUsername(string username);
        IList<User> FindByEmail(string email);
        User FindByName(string name);
        IList<User> FindByNameOrUsernameLike(string search);
        void Update(User editUser, string[] coordinatorProjectTitles, string[] memberProjectTitles);
    }
}
